package com.newer.utils.sys;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;



@Controller
public class JumpPageController {
		

	/**
	 * 跳转至角色显示
	 * 
	 * @return
	 */
	@RequestMapping("sys/role/manager")
	public String toRolePage() {
		return "sys/role/role";
	}

	/**
	 * 跳转到角色添加
	 */
	@RequestMapping("sys/role/add")
	public String toRoleAddPage() {
		return "sys/role/role_add";
	}

	/**
	 * 跳转至资源管理
	 * 
	 * @return
	 */
	@RequestMapping("sys/resource/manager")
	public String toResourcePage() {
		return "sys/resource/resource";
	}

	/**
	 * 跳转至添加资源界面
	 * 
	 * @return
	 */
	@RequestMapping("sys/resource/addPage")
	public String addResourcePage() {
		return "sys/resource/resource_add";
	}

	/**
	 * 跳转至用户管理
	 * 
	 * @return
	 */
	@RequestMapping("sys/user/manager")
	public String toUserPage() {
		return "sys/user/user";
	}

	/**
	 * 跳转至添加取派员页面
	 * 
	 * @return
	 */
	@RequestMapping("sys/staff/add")
	public String toStaffPage() {
		return "sys/staff/staff_add";
	}
	
	@RequestMapping("sys/staff/manager")
	public String manager() {
		return "sys/staff/staff";
	}

	/**
	 * 跳转到区域管理页面
	 * 
	 * @return
	 */
	@RequestMapping(value = { "sys/region/manager" })
	public String regionTo() {
		return "sys/region/region";
	}

	/**
	 * 跳转到区域添加页面
	 * 
	 * @return
	 */
	@RequestMapping(value = { "sys/region/add" })
	public String add() {
		return "sys/region/region_add";
	}

	/**
	 * 跳转到组织页面
	 */
	@RequestMapping(value={"sys/organization/manager"})
	public String toOrganization(){
		return "sys/organization/organization";
	}
	/**
	 * 跳转到收派标准页面
	 * @return
	 */
	@RequestMapping(value={"sys/pickstandard/manager"})
	public String toPickstandard(){
		return "sys/pickstandard/pickstandard";
	}
}
